﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Routing;

namespace MvcEngine.Mvc.Extensions
{
    public static class RouteDataExtensions
    {
        public static int GetPageContentId(this RouteData routeData) 
        {
            return int.Parse(routeData.Values["ctrId"].ToString());
        }
    }
}
